package com.jdbc.day01.dao;

import com.jdbc.day02.entitys.EasybuyUser;
import org.apache.ibatis.annotations.Param;

public interface EasybuyUserMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(EasybuyUser record);

    int insertSelective(EasybuyUser record);

    EasybuyUser selectByPrimaryKey(@Param("id") Integer id,@Param("name") String loginname);

    int updateByPrimaryKeySelective(EasybuyUser record);

    int updateByPrimaryKey(EasybuyUser record);

    EasybuyUser selectBy(@Param("id") Integer id,@Param("name") String loginname,@Param("sex") int sex);
}